Some parameters are only relevant when creating the window, and
are therefore never read from the window info struct.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2733>
typedef struct {
GtkWidget *window;
- int width;
- int height;
guint alpha : 1;
- guint maximized : 1;
guint redraws : 1;
guint mapped : 1;
guint exposed : 1;
GtkWidget *child;
info = g_new0 (WindowInfo, 1);
- info->width = width;
- info->height = height;
info->alpha = alpha;
- info->maximized = maximized;
info->redraws = redraws;
info->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
if (alpha)